import { defineConfig } from "vite"
import uni from "@dcloudio/vite-plugin-uni";
export default defineConfig({
	plugins: [
		uni()
	],
	server: {
		proxy: {
			'/app': {
				target:'https://da.yueyangtech.com.cn/couple',
				changeOrigin: true,
				rewrite: path => {
					return path.replace(/^\/app/, '')
				}
			}, 
		}
	}
})